package com.earthquake.monitor_system.service.ITF;

import com.earthquake.monitor_system.controller.resultType.IconType;
import com.earthquake.monitor_system.domain.SysMenuDomain;
import com.earthquake.monitor_system.domain.UserMenuDomain;

import java.util.HashMap;
import java.util.List;

public interface ISysMenu {
    public List<SysMenuDomain> getMenuList();
    public List<SysMenuDomain> getUserMenuList(Integer id);
    public  List<IconType> getIcon();
    public HashMap<String,Object> insetParentMenu(SysMenuDomain sysMenuDomain);
    public HashMap<String,Object> insetChildrenMenu(SysMenuDomain sysMenuDomain);
    public  Boolean  updateMenu(SysMenuDomain sysMenuDomain);
    public  Boolean  DeleteMenu(Integer id);
    public  Boolean  userMenu(Integer id, List menuList);

    public List<Integer> getUserMenu(Integer userId);
}
